package cn.fl.login.loginEnum;

/**
 * PC用户登陆方式配置枚举类
 * @package: cn.fl.login.loginEnum
 * @className: CtrlUsrLoginEnum
 * @author: menghongqiang@lionbridgecapital.cn
 * @createDate: 2020/4/29 17:04
 * @version: V1.0.0
 * @copyright: (c) 2020
 * @updateRemark: [序号][YYYY-MM-DD] [更改人姓名][变更描述]
 */
public enum CtrlUsrLoginEnum {
    /**
     * 密码登录
     */
    PASSWORD("1", "password"),

    /**
     * 扫描二维码登录
     */
    SCANCODE("3", "scancode"),

    /**
     * 密码登录/扫描二维码登录
     */
    ALL("1,3", "all");

    private String key;
    private String value;

    private CtrlUsrLoginEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
}